import request from "@/axios"

export function getLive(id) {
    let url = `/api/live/info/${id}`
    return request.get(url)
}

export function getLiveList(page) {
    let url = `/api/live/list`
    let params = {page,limit:8}
    return request.get(url, {params})
}